package priv.menguer.facade.controller;

import priv.menguer.facade.service.Shape;
import priv.menguer.facade.service.impl.Circle;
import priv.menguer.facade.service.impl.Rectangle;
import priv.menguer.facade.service.impl.Square;

/**
 * @Title ShapeMaker.java
 * @description TODO
 * @time 2018年10月26日 上午10:30:45
 * @author menguer@126.com
 * @version 1.0
 */
public class ShapeMaker {
	private Shape circle;
	private Shape rectangle;
	private Shape square;

	public ShapeMaker() {
		circle = new Circle();
		rectangle = new Rectangle();
		square = new Square();
	}

	public void drawCircle() {
		circle.draw();
	}

	public void drawRectangle() {
		rectangle.draw();
	}

	public void drawSquare() {
		square.draw();
	}
}
